@charset "utf-8";
/* CSS Document */

.contents article clearfix{
	margin-top:30px;
}


.each-case{
	width:100%;
	margin:auto;
}

.each-case a{
	width:355px;
	float:left;
	text-decoration:none;
	color:#333;
	border:#eaeaea solid 1px;
	display:block;
	padding:30px;
	margin:50px 25px 0 25px;
}


.each-case a p{
	margin:0;
}

.each-case a .main-photo{
	height: 250px;
	overflow: hidden;
	position: relative;
	background-size: cover;
}

.each-case a .main-photo img{
	max-height:210px;
	max-width:100%;
	bottom:20px;
	left:20px;
}


.each-case a .main-photo h2{
	position:absolute;
	left:10px;
	bottom:10px;
}

.each-case a .main-photo h2 img{
	height:180px;
	width:auto;
}

.each-case a h2{
	position:relative;
	line-height:32px;
	font-size:16px;
	font-weight:bold;
}

.each-case a h2 span{
	font-weight:normal;
	background-color:#000;
	color:#FFF;
	display:inline-block;
	font-size:16px;
	padding:0 5px;
	margin-right:10px;
	line-height:32px;
	padding-top:2px;
}

.each-case a .date{
	font-family: 'Supermercado One', cursive;
	line-height:28px;
	font-size:14px;
	font-weight:normal;
	text-align:right;
	margin-bottom:20px;
}

.each-case a .tag{
	margin-top:20px;
	padding-top:20px;
	color:#838383;
	border-top:#eaeaea dashed 1px;
}

.each-case a .tag span{
	color:#333;
}

.each-case a:hover{
	background-color:rgba(238,238,238,0.2);
}

.each-case a:hover .main-photo{
	opacity:0.7;
}

.each-case a:hover .tag{
	color:#09c;
}

.contents{
	width:1024px;
	margin:auto;
	font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

.kai{
	display: none;
}

@media screen and ( max-width:889px) {
#contents,
.contents{
	width:95%;
}
.each-case clearfix
	{
	align-items: center;	
	}
}

@media screen and ( max-width:525px) {
.each-case a{
	width:335px;
	float:left;
	text-decoration:none;
	color:#333;
	border:#eaeaea solid 1px;
	display:block;
	padding:10px;
	margin:0px;
}
}

@media screen and (max-width:359px) {
	.each-case a{
		width:100%;
	}
	
	.each-case a .main-photo{
		width:100%;
	}
}
